package com.system.tree.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import com.system.tree.entity.Tree;
@org.springframework.stereotype.Repository
public interface TreeRepository extends PagingAndSortingRepository<Tree, Long>,JpaSpecificationExecutor<Tree>{
public List<Tree> findTreeByFatherId(Long id);
}
